package com.smt.take.model.net

class BaseResponse<T> {
    //服务器开发者定义的数据结构
    var code: String? = null
    var data: T? = null
        private set

    fun setData(data: T) {
        this.data = data
    }
}